package user

import (
	"goProject/api/auth"

	"github.com/kataras/iris/v12"
)

func Router(app iris.Party) {
	app.Use(auth.LoginAuthenticationByMy)
	app.Get("/profile", profile)
	app.Get("/menu", menu)
	app.Delete("/logout", logout)
	app.Put("/password", updatePassword)
}
